﻿namespace MemoryTest_Communications.Model
{
    using System.Device.Location;
    using WP7Contrib.Common;

    public sealed class Location : BaseModel
    {
        private GeoCoordinate centrePoint;
        private string placeName;
        private string title;
        private string longTitle;

        public Location()
        {
            centrePoint = GeoCoordinate.Unknown;
        }

        public string LongTitle
        {
            get { return longTitle; }
            set { this.SetPropertyAndNotify(ref this.longTitle, value, () => this.LongTitle); }
        }

        public string Title
        {
            get { return title; }
            set { this.SetPropertyAndNotify(ref this.title, value, () => this.Title); }
        }

        public GeoCoordinate CentrePoint
        {
            get { return centrePoint; }
            set { this.SetPropertyAndNotify(ref this.centrePoint, value, () => this.CentrePoint); }
        }

        public string PlaceName
        {
            get { return placeName; }
            set { this.SetPropertyAndNotify(ref this.placeName, value, () => this.PlaceName); }
        }
    }
}